/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springWebTestNG.ioc;

import javax.naming.OperationNotSupportedException;

/**
 * Since lookup-method is not supported in annotation, this example must defined in XML
 * @author zhou.zhefu
 */
public class MethodLookupSingletonBean {
    public MethodLookupPrototypeBean getPrototypeBean() throws Exception {
        //this method is dedicatedly for overriden by <lookup-method />
        throw new OperationNotSupportedException();
    }
}
